README

LulaWebsite

What this is

My new personal website created with R pckg distill

Where it lives

Structure

How to generate local version

  1. From the Build pane, clicking on Build Website hammer icon
  2. Type rmarkdown::render_site(encoding = 'UTF-8') into the R console. This will:
    • Render all .Rmd and ,md files in the root dir into HTML (EXCEPT markdown files beginning with “_” )
    • Regenerate Blog posts
    • copy the generated HTML files in the output dir (_site/* or docs/*) along with supporting files (e.g. CSS and JavaScript)

How to add a blog post

  1. create it distill::create_post(title = "prova", collection = "posts", author = "auto", slug = "auto", date = Sys.Date(), draft = TRUE)
  2. knit it or run rmarkdown::render("_posts/2022-04-13-prova/prova.Rmd") (posts are considered standalone documents that are not re-rendered when the site is built)
  3. build site

Publication page

Acknowledgements

This is possible thanks to the fantastic R package distill. I started from this tutorial -Here’s another nice tutorial. Then I ‘borrowed’ the solution of Quang Nguyen to design the Project page and from Joel Nitta’s website for the theme and publication page. Here’s another nice example and, possibly for later, plus tutorial blog).